package com.zretc.dao;

import com.zretc.entity.Sales;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface SalesMapper {

    /**
     * 获取销售数量
     * @param sellerAccount
     * @return
     */
    Integer getCountSales(String sellerAccount);

    /**
     * 获取销售额
     * @param param
     * @return
     */
    List<Map<String, Object>> getSales(Map<String,Object> param);
}
